package cc.linker.steplink.crm.merchant.dao.acs;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description: 中金支付订单处理
 * @Author: wuhangfeng
 * @Date: Created in 2019/10/8 14:08
 * @Version: 1.9.1
 */
public interface MerchantOrderMapper {

    List<Map<String, Object>> getOrderSnWhereAutoConfirm();

    void updateStatusWhereAutoConfirm(List<String> orderSn);

    List<String> listOrderWhereExpired();

    void closeOrderWhereExpired(List<String> orderIds);

    List<Map<String, Object>> listOrderByOrderId(List<String> orderIds);

    List<Map<String, Object>> listOrderWhereNeedConfirm();

    void updateProtectStatusWhereAutoConfirm(@Param("orderSn") String orderSn, @Param("unFreezeTime") String unFreezeTime);
}
